package com.google.denta.spring.mvc.user;

import org.apache.log4j.Logger;

import com.google.denta.entity.Role;
import com.google.denta.entity.User;

/**
 * @author Andrei_Leonau
 */
public class UserForm {
    /** Logger. */
    private Logger log = Logger.getLogger(UserForm.class);

    /** User object. */
    private User user = new User();

    /** Role array. */
    private Role[] role = new Role[0];

    /**
     * @return the user
     */
    public User getUser() {
        return user;
    }

    /**
     * @param user
     *            the user to set
     */
    public void setUser(final User user) {
        this.user = user;
    }

    /**
     * @return the id
     */
    public Role[] getRole() {
        return role;
    }

    /**
     * @param role
     *            Role[] to set
     */
    public void setRole(final Role[] role) {
        this.role = role;
    }
}
